// import { pageUrl } from "../../api/pagesUrl"


export function xuan(itemID) {
	return new Promise(function(resolve, reject) {
		uni.request({
			url: "/specifications/listImgPic",
			data: {
				"specificationsId": itemID
			},
			success(res) {
				resolve(res);
			},
			fail(err) {
				reject(err);
			}
		})
	})
}
export function jia() {
	return new Promise(function(resolve, reject) {
		uni.request({
			url: "/details/list",
			success(res) {
				resolve(res);
			},
			fail(err) {
				reject(err);
			}
		})
	})
}
export function priceNameImg() {
	return new Promise(function(resolve, reject) {
		uni.request({
		url: "/details/detailsListNamePriceImg",
			success(res) {
				resolve(res);
			},
			fail(err) {
				reject(err);
			}
		})
	})
}
export function guige() {
	return new Promise(function(resolve, reject) {
		uni.request({
			url: "/specifications/list",
			success(res) {
				resolve(res);
			},
			fail(err) {
				reject(err);
			}
		})
	})
}